<?php
// +----------------------------------------------------------------------
// | Description: 1
// +----------------------------------------------------------------------
// | Author: orchief
// +----------------------------------------------------------------------
// | Date: 2018-01-24 16:50:46
// +----------------------------------------------------------------------

namespace app\client\validate;

use think\Validate;

/**
 * 
 */
class ShopMembers extends Validate
{
    protected $rule = array(
        'Password'        => 'require',
        'TradePassword'        => 'require',
        'UserName'        => 'require',
        'CellPhone'        => 'require',
        'SessionId'        => 'require',
        'SessionEndTime'        => 'require',
    );
    protected $message = array(
        'Password.require'    => '请输入密码',
        'TradePassword.require'    => '请输入交易密码',
        'UserName.require'    => '请输入用户名',
        'CellPhone.require'    => '请输入手机号',
        'SessionId.require'    => '请输入token值',
        'SessionEndTime.require'    => '请输入token失效时间',
    );
    protected $scene = [
        'signup'    =>      ['Password', 'CellPhone']
    ];
}